
using Aliphant.Interfaces;
using Aliphant.Mvvm.XEvent.Instance;
using Aliphant.Mvvm.XEvent.Interface;
using Aliphant.Mvvm.XEvent.Ioc;

using ScriptDemo.Views;

namespace ScriptDemo
{
    public class ScriptDemoModule : IUIModule
    {
        public static IUIContainer Container = new UIContainer();
        public static IEventManager EventAgent = new EventManagerAgent();

        public void Register(IUIContainer container)
        {
            container.RegisterNavigation<WidgetScript>("script");
            container.RegisterNavigation<WidgetByScript>("widgetScript");
            container.RegisterNavigation<UserControl1>("uc1");
        }
    }

}
